{{#if this.doesntHaveAssignments}}
  <EmptyState
    @title={{i18n "user.no_assignments_title"}}
    @body={{this.emptyStateBody}}
  />
{{else}}
  <div class="topic-search-div">
    <div class="inline-form full-width">
      <Input
        {{on "input" (action "onChangeFilter" value="target.value")}}
        @value={{readonly this.search}}
        @type="search"
        placeholder={{i18n "discourse_assign.topic_search_placeholder"}}
        autocomplete="off"
        class="no-blur"
      />
    </div>
  </div>

  <LoadMore
    @selector=".paginated-topics-list .topic-list tr"
    @action={{action "loadMore"}}
    class="paginated-topics-list"
  >
    <BasicTopicList
      @topicList={{this.model}}
      @hideCategory={{this.hideCategory}}
      @showPosters={{true}}
      @bulkSelectEnabled={{this.bulkSelectEnabled}}
      @selected={{this.selected}}
      @hasIncoming={{this.hasIncoming}}
      @incomingCount={{this.incomingCount}}
      @showInserted={{this.showInserted}}
      @tagsForUser={{this.tagsForUser}}
      @changeSort={{this.changeSort}}
      @unassign={{this.unassign}}
      @reassign={{this.reassign}}
      @onScroll={{this.saveScrollPosition}}
      @scrollOnLoad={{true}}
    />

    <ConditionalLoadingSpinner @condition={{this.model.loadingMore}} />
  </LoadMore>
{{/if}}